﻿class Notifier < ActionMailer::Base
  default :from => 'BK Library'

  # Subject can be set in your I18n file at config/locales/en.yml
  # with the following lookup:
  #
  #   en.notifier.information.subject
  #
  def information(user)
    @user=user

    mail :to => user.EmailAddress, :subject => 'Thông tin tài khoản'
  end
  
  def edit_information(user)
    @user=user

    mail :to => user.EmailAddress, :subject => 'Sửa thông tin tài khoản'
  end
end
